
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        #tr1,#sb{
            text-align: center;
        }
        form{
            display: block;
            width: 400px;
            margin: auto;
        }
    </style>
</head>
<body>
<form method="get" action="controller.jsp">
    <table border="4">
       <tr id="tr1"> <th>添加人员<input type="hidden" name="op" value="add"> </th></tr>
        <tr>
            <td>姓名</td>
            <td><input type="text" name="name"> </td>
        </tr>
        <tr>
            <td>性别</td>
            <th>男<input type="radio" value="1" name="sex">
                女<input type="radio" value="2" name="sex">
            </th>
        </tr>
        <tr>
            <td>年级</td>
            <td><input type="text" name="age"></td>
        </tr>
        <tr>
        <th id="sb"><input type="submit" value="提交"></th>
        </tr>
    </table>
</form>

</body>
</html>
